

        <g:set var="entityName" value="${message(code: 'teacherAttendance.label', default: 'TeacherAttendance')}" />
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="teacherAttendance.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: teacherAttendanceInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="teacherAttendance.school.label" default="School" /></td>
                            
                            <td valign="top" class="value"><g:link controller="school" action="show" id="${teacherAttendanceInstance?.school?.id}">${teacherAttendanceInstance?.school?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="teacherAttendance.teacher.label" default="Teacher" /></td>
                            
                            <td valign="top" class="value"><g:link controller="teacher" action="show" id="${teacherAttendanceInstance?.teacher?.id}">${teacherAttendanceInstance?.teacher?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="teacherAttendance.attendance.label" default="Attendance" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${teacherAttendanceInstance?.attendance}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="teacherAttendance.leave.label" default="Leave" /></td>
                            
                            <td valign="top" class="value"><g:formatBoolean boolean="${teacherAttendanceInstance?.leave}" /></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="teacherAttendance.attendanceTime.label" default="Attendance Time" /></td>
                            
                            <td valign="top" class="value"><g:formatDate date="${teacherAttendanceInstance?.attendanceTime}" /></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${teacherAttendanceInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
